package com.techstar.api.pojo.overview;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.joda.time.DateTime;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.techstar.common.jackson.DateTimeDeserializer;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 
 * @author EinIce
 * @description 实时运力
 * @date 2021年8月9日
 */

@Getter
@Setter
@Entity
@ToString
@Table(name = "overview_realtime_transportation")
@org.hibernate.annotations.Table(appliesTo = "overview_realtime_transportation",comment="pbtp-1-实时运力")
public class OverviewRealtimeTransportation {
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Long id;
	@Column(columnDefinition="varchar(100) COMMENT '当日累计公交班次'")
	private String busAccShiftNum;
	@Column(columnDefinition="varchar(100) COMMENT '当日累计公交班次同比'")
	private String busAccShiftNumCsy;
	@Column(columnDefinition="varchar(100) COMMENT '当日公交班次执行率'")
	private String busExecuteRatio;
	@Column(columnDefinition="varchar(100) COMMENT '当日公交班次执行率同比'")
	private String busExecuteRatioCsy;
	@Column(columnDefinition="varchar(100) COMMENT '当年日均公交班次'")
	private String busAvgShiftByYear;
	@Column(columnDefinition="varchar(100) COMMENT '当年日均公交班次同比'")
	private String busAvgShiftByYearCsy;
	@Column(columnDefinition="varchar(100) COMMENT '当年日均公交班次执行率'")
	private String busAvgExecuteRatioByYear;
	@Column(columnDefinition="varchar(100) COMMENT '当年日均公交班次执行率同比'")
	private String busAvgExecuteRatioByYearCsy;
	@Column(columnDefinition="varchar(100) COMMENT '当日累计地铁班次'")
	private String subwayAccShiftNum;
	@Column(columnDefinition="varchar(100) COMMENT '当日累计地铁班次同比'")
	private String subwayAccShiftNumCsy;
	@Column(columnDefinition="varchar(100) COMMENT '当年日均地铁班次'")
	private String subwayAvgShiftByYear;
	@Column(columnDefinition="varchar(100) COMMENT '当年日均地铁班次同比'")
	private String subwayAvgShiftByYearCsy;
	@Column(columnDefinition="varchar(100) COMMENT '当日出租上线车辆数'")
	private String taxiOnlineNum;
	@Column(columnDefinition="varchar(100) COMMENT '当日出租上线车辆数同比'")
	private String taxiOnlineNumCsy;
	@Column(columnDefinition="varchar(100) COMMENT '当日累计出租载客里程'")
	private String taxiLoadMileage;
	@Column(columnDefinition="varchar(100) COMMENT '当日累计出租载客里程同比'")
	private String taxiLoadMileageCsy;
	@Column(columnDefinition="varchar(100) COMMENT '当年日均出租上线车辆数'")
	private String taxiAvgOnlineNumByYear;
	@Column(columnDefinition="varchar(100) COMMENT '当年日均出租上线车辆数同比'")
	private String taxiAvgOnlineNumByYearCsy;
	@Column(columnDefinition="varchar(100) COMMENT '当年日均出租载客里程'")
	private String taxiAvgLoadMileageByYear;
	@Column(columnDefinition="varchar(100) COMMENT '当年日均出租载客里程同比'")
	private String taxiAvgLoadMileageByYearCsy;
	@Column(columnDefinition="varchar(100) COMMENT '当日网约上线车辆数'")
	private String carHailingOnlineNum;
	@Column(columnDefinition="varchar(100) COMMENT '当日网约上线车辆数同比'")
	private String carHailingOnlineNumCsy;
	@Column(columnDefinition="varchar(100) COMMENT '当日累计网约载客里程'")
	private String carHailingLoadMileage;
	@Column(columnDefinition="varchar(100) COMMENT '当日累计网约载客历程同比'")
	private String carHailingLoadMileageCsy;
	@Column(columnDefinition="varchar(100) COMMENT '当年日均网约上线车辆数'")
	private String carHailingAvgOnlineNumByYear;
	@Column(columnDefinition="varchar(100) COMMENT '当年日均网约上线车辆数同比'")
	private String carHailingAvgOnlineNumByYearCsy;
	@Column(columnDefinition="varchar(100) COMMENT '当年日均网约载客里程'")
	private String carHailingAvgLoadMileageByYear;
	@Column(columnDefinition="varchar(100) COMMENT '当年日均网约载客里程同比'")
	private String carHailingAvgLoadMileageByYearCsy;
	@Column(columnDefinition="datetime(0) COMMENT '业务更新时间'")
	@JsonDeserialize(using = DateTimeDeserializer.class)
	private DateTime createTime;
}

